GAME.Board = {}

function GAME:ClearBoard ()
	for i=1, 8 do
		self.Board[i] = {}
		for j=1, 8 do
			self.Board[i][j] = false
		end
	end
end

function GAME:AddPiece (x, y, side, size)
	self.Board[y][x] = {side, size}
end

function GAME:SetupBoard ()
	local xmod = 1
	for y=1, 3 do
		for x=(1+xmod), (7+xmod), 2 do
			self:AddPiece (x,y,1,1)
		end
		if xmod == 1 then xmod = 0 else xmod = 1 end
	end
	for y=6, 8 do
		for x=(1+xmod), (7+xmod), 2 do
			self:AddPiece (x,y,2,1)
		end
		if xmod == 1 then xmod = 0 else xmod = 1 end
	end
end
